package com.aphrodite.util.regex;

/**
 * Exception thrown to indicate a syntax error in a regular expression. This is
 * a non-checked exception because you should only have problems compiling a
 * regular expression during development. If you are making regular expresion
 * programs dynamically then you can catch it if you wish. But should not be
 * forced to.
 * 
 */
public class RegExException extends RuntimeException {
	/**
	 * Constructor.
	 * 
	 * @param s
	 *            Further description of the syntax error
	 */
	public RegExException(String s) {
		super("Syntax error: " + s);
	}
}
